package com.xdb.sqlparser.dialect.oracle.ast.statement;

import com.xdb.sqlparser.ast.SQLExpr;
import com.xdb.sqlparser.dialect.oracle.visitor.OracleASTVisitor;

public class OracleExprStatement extends OracleStatementImpl {

	private SQLExpr expr;

	public OracleExprStatement() {

	}

	public OracleExprStatement(SQLExpr expr) {
		this.expr = expr;
	}

	@Override
	public void accept0(OracleASTVisitor visitor) {
		if (visitor.visit(this)) {
			acceptChild(visitor, expr);
		}
		visitor.endVisit(this);

	}

	public SQLExpr getExpr() {
		return expr;
	}

	public void setExpr(SQLExpr expr) {
		this.expr = expr;
	}

}
